package com.sql.utils;

import javax.servlet.http.Cookie;

/**
 * 
 * @author SilveryBuyllet
 * cookie处理工具
 *
 */
public class CookiesUtil {
	public static Cookie addCookies(String name, String value, int expiry) {
		Cookie cookie = new Cookie(name, value);
		cookie.setMaxAge(expiry);
		return cookie;
	}
}
